FROM registry.cn-hangzhou.aliyuncs.com/yaochengzhu/openjre:8
MAINTAINER pillar
WORKDIR /app
ADD target/*.jar app.jar
RUN /bin/sh -c 'touch /app/app.jar'
ENV LANG C.UTF-8
ENV JVM=""
ENV SERVER_PORT="8080"
ENV LOG_LEVEL="INFO"
EXPOSE ${SERVER_PORT}
ENTRYPOINT java ${JVM} -Duser.timezone=GMT+8 -Djava.security.egd=file:/dev/./urandom -jar /app/app.jar


